package com.dy.scs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dy.scs.pojo.Result;
import com.dy.scs.pojo.SC;
import com.dy.scs.pojo.SCpair;
import com.dy.scs.pojo.gradeVO;

import java.util.List;

public interface SCService extends IService<SC> {
    Page<SC> pages(Integer pages, Integer pageSize,String key,String sortBy,String sortType);

    Result<List<gradeVO>> getBySC(String sno);

    SC getSCBy(String cno, String sno);

    void deletes(List<SCpair> sCpairs);

    Result<List<gradeVO>> getSCBycno(String cno);

//    String  getBySC(String sno, String cno);
}
